package com.yaowk.weixin.common;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.jfinal.template.source.ClassPathSource;
import com.yaowk.common.plugin.SqlPlugin;

/**
 * Created by yaowk on 17-8-1.
 */
public class WeixinSqlPlugin extends SqlPlugin {
    public WeixinSqlPlugin(ActiveRecordPlugin arp) {
        super(arp);
    }

    @Override
    public boolean start() {
//        _MappingKit.mapping(arp);
        arp.addSqlTemplate(new ClassPathSource("weixin.sql"));
        return super.start();
    }
}
